package top.xiaozhaobk.xiaofenshu.auth.service;

import top.xiaozhaobk.framework.common.response.Response;
import top.xiaozhaobk.xiaofenshu.auth.model.vo.user.UpdatePasswordReqVO;
import top.xiaozhaobk.xiaofenshu.auth.model.vo.user.UserLoginReqVO;

public interface AuthService {
    /**
     * 登录与注册
     * @param userLoginReqVO
     * @return
     */
     Response<String> loginAndRegister(UserLoginReqVO userLoginReqVO);

    /**
     * 退出登录
     * @param
     * @return
     */
    Response<?> logout();

    /**
     * 修改密码
     * @param UpdatePasswordReqVO
     */
    Response<?> updatePassword(UpdatePasswordReqVO UpdatePasswordReqVO);
}
